package com.legoo.studaychineseonline.bean;

public class RegisterBean {

    /**
     * code : 0
     * message : 注册成功
     * data : {"client":{"phone":"","username":"teacher81","type":"teacher","email":"mlzx@acord.cn","nickname":"","id":"5c98a21fedf3291f04011950","icon":""}}
     * tag :
     */

    private int code;
    private String message;
    private DataBean data;
    private String tag;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getTag() {
        return tag;
    }

    public void setTag(String tag) {
        this.tag = tag;
    }

    public static class DataBean {
        /**
         * client : {"phone":"","username":"teacher81","type":"teacher","email":"mlzx@acord.cn","nickname":"","id":"5c98a21fedf3291f04011950","icon":""}
         */

        private ClientBean client;

        public ClientBean getClient() {
            return client;
        }

        public void setClient(ClientBean client) {
            this.client = client;
        }

        public static class ClientBean {
            /**
             * phone :
             * username : teacher81
             * type : teacher
             * email : mlzx@acord.cn
             * nickname :
             * id : 5c98a21fedf3291f04011950
             * icon :
             */

            private String phone;
            private String username;
            private String type;
            private String email;
            private String nickname;
            private String id;
            private String icon;

            public String getPhone() {
                return phone;
            }

            public void setPhone(String phone) {
                this.phone = phone;
            }

            public String getUsername() {
                return username;
            }

            public void setUsername(String username) {
                this.username = username;
            }

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }

            public String getEmail() {
                return email;
            }

            public void setEmail(String email) {
                this.email = email;
            }

            public String getNickname() {
                return nickname;
            }

            public void setNickname(String nickname) {
                this.nickname = nickname;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getIcon() {
                return icon;
            }

            public void setIcon(String icon) {
                this.icon = icon;
            }
        }
    }
}

